﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Domain.Model;

namespace Presentation.Models
{
    public class FormViewModel
    {
        #region Models

        public List<SelectListItem> TypeItems = new List<SelectListItem> 
        {
            new SelectListItem {Selected = true, Text = "Text", Value = FormElement.TYPE_CHAR},
            new SelectListItem {Selected = false, Text = "Number", Value = FormElement.TYPE_NUMERIC},
            new SelectListItem {Selected = false, Text = "Date", Value = FormElement.TYPE_DATE}
        };

        public Form Form;

        public FormElement FormElement;

        #endregion
    }
}